package cn.ycc1.boot3redisson.user.service;

import cn.ycc1.boot3redisson.user.domain.User;
import cn.ycc1.boot3redisson.user.vo.UserQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author mi
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2023-11-18 20:04:49
*/
public interface UserService extends IService<User> {

    IPage<User> getPage(UserQueryVo queryVo);

    User getDetail(Long id);

    boolean updateUser(long uid, long amount);

    void updateUserRedisson(Long uid, Long amount);
}
